From 456c1672ced73054460e254023e3d4fe2eeb51df Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Mon, 7 May 2007 08:32:26 -0600 Subject: [PATCH] [IA64] Fix PCI front with CONFIG_NUMA We get a bad pointer dereference if we don't fill something in here. -1 will give us a global allocation, which is good enough until we have better NUMA support. Signed-off-by: Alex Williamson --- linux-2.6-xen-sparse/include/xen/pcifront.h | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-2.6-xen-sparse/include/xen/pcifront.h b/linux-2.6-xen-sparse/include/xen/pcifront.h index 50d76fe821..39acea73e9 100644 --- a/linux-2.6-xen-sparse/include/xen/pcifront.h +++ b/linux-2.6-xen-sparse/include/xen/pcifront.h @@ -62,6 +62,7 @@ static inline void pcifront_init_sd(struct pcifront_sd *sd, int domain, sd->segment = domain; sd->acpi_handle = NULL; sd->iommu = NULL; + sd->node = -1; sd->windows = 0; sd->window = NULL; sd->platform_data = pdev; -- 2.30.2